<?php
declare (strict_types = 1);

namespace app\common\model;

class UserCard extends Base
{

    protected $name = 'user_card';
    public function card()
    {
        return $this->hasOne(Card::class, 'id', 'card_id')->field('id,title,images,content');
    }

}
